You are here: Symbol Reference > Dew Namespace > Dew.Math Namespace > Dew.Math.Units Namespace > Classes > Math387 Class > Math387 Methods > Power Method > Math387.Power Method ([In] double, [In] double)
Dew Math for .NET
ContentsIndexHome
PreviousUpNext
Math387.Power Method ([In] double, [In] double)

Power function.

Syntax
C#
Visual Basic
public static double Power([In] double Base, [In] double Exponent);

Base to any power.

IntPower is faster, if Exponent is an integer. Real valued power can handle only positive Exponent and Base. IntPower can also handle negative exponent and/or negative base. To compute a power to the non-integer negative exponent and base in general case, use the complex version of the function.

Copyright (c) 1999-2024 by Dew Research. All rights reserved.
What do you think about this topic? Send feedback!